package com.lvmama.pangolin.entity;

/**
 * 商品关联关系实体对象，对应数据库中commodity_rel表
 */
public class CommodityRel {
    /**
     * 对应驴妈妈的产品id
     */
    public String prod_id;
    /**
     * 驴妈妈的商品id
     */
    public String commodity_id;
    /**
     * 具体的公司，此处的值为小写的简写公司号，例如：mt,xc,tn,qnr,tc,el
     */
    public String company_code;
    /**
     * 具体对应的某个公司产品id
     */
    public String rel_prod_id;
    /**
     * 具体对应的某个公司商品id
     */
    public String rel_commodity_id;
    /**
     * 具体对应的某个公司商品名称
     */
    public String rel_commodity_name;
    /**
     * 业务编码，例如：TICKET,HOTEL
     */
    public String business_code;

    public String getProd_id() {
        return prod_id;
    }

    public void setProd_id(String prod_id) {
        this.prod_id = prod_id;
    }

    public String getCommodity_id() {
        return commodity_id;
    }

    public void setCommodity_id(String commodity_id) {
        this.commodity_id = commodity_id;
    }

    public String getCompany_code() {
        return company_code;
    }

    public void setCompany_code(String company_code) {
        this.company_code = company_code;
    }

    public String getRel_prod_id() {
        return rel_prod_id;
    }

    public void setRel_prod_id(String rel_prod_id) {
        this.rel_prod_id = rel_prod_id;
    }

    public String getRel_commodity_id() {
        return rel_commodity_id;
    }

    public void setRel_commodity_id(String rel_commodity_id) {
        this.rel_commodity_id = rel_commodity_id;
    }

    public String getRel_commodity_name() {
        return rel_commodity_name;
    }

    public void setRel_commodity_name(String rel_commodity_name) {
        this.rel_commodity_name = rel_commodity_name;
    }

    public String getBusiness_code() {
        return business_code;
    }

    public void setBusiness_code(String business_code) {
        this.business_code = business_code;
    }

    @Override
    public String toString() {
        return "CommodityRel{" +
                "prod_id='" + prod_id + '\'' +
                ", commodity_id='" + commodity_id + '\'' +
                ", company_code='" + company_code + '\'' +
                ", rel_prod_id='" + rel_prod_id + '\'' +
                ", rel_commodity_id='" + rel_commodity_id + '\'' +
                ", rel_commodity_name='" + rel_commodity_name + '\'' +
                ", business_code='" + business_code + '\'' +
                '}';
    }
}
